package values.ui_assets
{
import flash.utils.Dictionary;

/**
 * UIAssetSettingValue
 * @author jliang
 *
 */
public class UIAssetSettingValue
{
	private static var _assets:Dictionary;  /* UIAssetValue */

	public function get assets():Dictionary
	{
		return _assets;
	}
	
	[Data(type="mapping", 
		   mapping="assets", 
		   ref="values.ui_assets.UIAssetValue",
		   way="one_to_more",
		   object="flash.utils.Dictionary",
           key="@key")]
	public function set assets(value:Dictionary):void
	{
		_assets = value;
	}
	
	public static function get uiAssets():Dictionary
	{
		return _assets;
	}
	
	public static function getByKey(key:String):UIAssetValue
	{
		return uiAssets[key];
	}

}
}